package com.antler.smt.admin;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 注册启动类(用于部署外部tomcat)
 *
 * @author vic
 * @date 2017-09-28 11:05
 */
public class ServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(SmtAdminApplication.class);
    }
}
